deploy: Add a debug message for which bootloader is used
authorColin Walters <walters@verbum.org>
Thu, 3 Apr 2014 23:39:07 +0000 (19:39 -0400)
committerColin Walters <walters@verbum.org>
Thu, 3 Apr 2014 23:39:08 +0000 (19:39 -0400)
Debugging something...

src/libostree/ostree-sysroot-deploy.c

index 87346b7c582cc039a797e5b8f6b230ed7ef6c3fe..5f99fec50abf4e282d936a5a57b6610212994e18 100644 (file)
@@ -1203,6 +1203,9 @@ ostree_sysroot_write_deployments (OstreeSysroot     *self,
           goto out;
         }
 
+      g_debug ("Using bootloader: %s", bootloader ?
+               g_type_name (G_TYPE_FROM_INSTANCE (bootloader)) : "(none)");
+
       if (bootloader && !_ostree_bootloader_write_config (bootloader, new_bootversion,
                                                           cancellable, error))
         {